.class public Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;
.super Lcom/wqmobile/sdk/protocol/cmd/a;


# instance fields
.field private d:[B

.field private e:[B

.field private f:[B


# direct methods
.method public constructor <init>()V
    .locals 2

    invoke-direct {p0}, Lcom/wqmobile/sdk/protocol/cmd/a;-><init>()V

    sget-object v0, Lcom/wqmobile/sdk/protocol/cmd/d;->l:Lcom/wqmobile/sdk/protocol/cmd/d;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/protocol/cmd/d;->b()B

    move-result v0

    iput-byte v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->b:B

    const/16 v0, 0x3f

    iput-byte v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->a:B

    const/4 v0, 0x1

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->d:[B

    const/4 v0, 0x2

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->e:[B

    const/16 v0, 0x100

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->f:[B

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->c:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->d:[B

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->c:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->e:[B

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->c:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->f:[B

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method


# virtual methods
.method public final a()B
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->d:[B

    const/4 v1, 0x0

    aget-byte v0, v0, v1

    return v0
.end method

.method public doAction(Lcom/wqmobile/sdk/protocol/a;)Lcom/wqmobile/sdk/protocol/cmd/a;
    .locals 3

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Error code: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;->d:[B

    const/4 v2, 0x0

    aget-byte v1, v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/protocol/cmd/b;->b(Ljava/lang/String;)V

    invoke-virtual {p1, p0}, Lcom/wqmobile/sdk/protocol/a;->a(Lcom/wqmobile/sdk/protocol/cmd/WQErrorContent;)Lcom/wqmobile/sdk/protocol/cmd/a;

    move-result-object v0

    return-object v0
.end method
